package com.spooky.sync.persistence.dao;

import java.util.List;
import com.spooky.sync.persistence.entity.ExpandableNote;
import com.spooky.sync.persistence.entity.Note;

public interface NoteDAO {
	Note create(Note note);

	Note update(Note note);

	void delete(Note note);

	List<Note> find(Note note);

	Note find(Long id);

	List<Note> list(int start, int offset);

	List<Note> getAll();

	List<ExpandableNote> listExpandable();

	void close();
}
